'''
class Turtle:
    	#属性
	color = 'green'
	legs = '4'
	#方法
	def climb(self):
		print('正在爬...')
	def run(self):
	    print('正在跑...')
'''
class Turtle:  
    def __init__(self,x):
        self.num = x
class Fish:  
    def __init__(self,x):
        self.num = x
class Pool:  
    def __init__(self,x,y):
        self.turtle = Turtle(x)
        self.fish = Fish(y)
    def print_num(self):
        print('水池中有%d只乌龟，%d条鱼'%(self.turtle.num,self.fish.num))
